package ch.areion.common.message;

/**
 * Enumeration with the message types
 * @author Bruno Leupi
 */
public enum Type {
	/**
	 * Just informative message.
	 */
	INFO(0),
	/**
	 * Warning (interesting but not critical).
	 */
	WARNING(1),
	/**
	 * Critical system message.
	 */
	ERROR(2);

	private final int value;

	private Type(int value) {
		this.value = value;
	}

	public int getValue() {
		return this.value;
	}
}